{include file="public/header" /}


<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>提现申请</h3>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>
    <form method="get" name="formSearch">
        <div class="ds-search-form">
            <dl>
                <dt>用户名：</dt>
                <dd><input type="text" value="{$Request.get.name}" name="name" id="name" class="txt"
                           style="width:100px;"></dd>
            </dl>
            <dl>
                <dt>银行：</dt>
                <dd><input type="text" value="{$Request.get.bank_name}" name="bank_name" id="bank_name" class="txt"
                           style="width:100px;"></dd>
            </dl>
            <dl>
                <dt>银行卡号：</dt>
                <dd><input type="text" value="{$Request.get.bank_name}" name="bank_card" id="bank_card" class="txt"
                           style="width:150px;"></dd>
            </dl>
            <dl>
                <dt>手机号：</dt>
                <dd><input type="text" value="{$Request.get.mobile}" name="mobile" id="mobile" class="txt"
                           style="width:150px;"></dd>
            </dl>
            <div class="btn_group">
                <a href="javascript:document.formSearch.submit();" class="btn" title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
                {if $name != '' || $bank_name != '' || $bank_name !='' || $mobile !=''}
                <a href="{:url('Serviceapplymoney/apply')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
                {/if}
            </div>
        </div>
    </form>



    <table class="ds-default-table">
        <thead>
        <tr class="thead">
            <th>序号</th>
            <th >用户名</th>
            <th class="align-center " style="width: 150px;" >联系电话</th>
            <th class="align-center ">提现金额</th>
            <th class="align-center ">利率</th>
            <th class="align-center ">实际可得金额</th>
            <th class="align-center " >银行</th>
            <th class="align-center " style="width: 300px;">银行开户行</th>
            <th class="align-center " style="width: 150px;">创建时间</th>
            <th class="align-center" style="width: 50px;">{$Think.lang.ds_handle}</th>
        </tr>
        </thead>
        <tbody>
        {notempty name="list"}
        <?php $index = 1;foreach($list as $val){ ?>
        <tr class="hover" id="ds_row_{$val.id}">
            <td><?php echo $index ?></td>
            <td>{$val.name}</td>
            <td>{$val.mobile}</td>
            <td>{$val.money}</td>
            <td>{$val.radio}</td>
            <td>{$val.total_money}</td>
            <td>{$val.bank_name}</td>
            <td>{$val.bank_address}</td>
            <td> <?php echo date('Y-m-d H:i:s',$val['ctime'])?></td>
            <td class="w150 align-center">
                <a href="javascript:dsLayerOpen('{:url('Serviceapplymoney/status',['id'=>$val.id])}','审核', '700px', '508px')"
                   class="dsui-btn-edit"><i class="iconfont"></i>审核</a>
            </td>
        </tr>
        <?php $index++; } ?>
        {else /}
        <tr class="no_data">
            <td colspan="15">{$Think.lang.ds_no_record}</td>
        </tr>
        {/notempty}
        </tbody>

    </table>
    {$show_page}
</div>